package com.woniu.micropropertyserver.service;

import com.github.pagehelper.PageInfo;
import com.woniu.microcommonsserver.entity.RenterInfoEntity;
import com.woniu.micropropertyserver.util.PageRest;

import java.util.List;

public interface IRenterInfoService {

    List<RenterInfoEntity> findall();
    RenterInfoEntity findById(Long id);
    int updateInfo(RenterInfoEntity renterInfo);
    int delInfo(Long id);
    Long saveInfo(RenterInfoEntity renterInfo);
    PageInfo<RenterInfoEntity> findAllByParams(PageRest pageRest, RenterInfoEntity renterInfo);

    List<RenterInfoEntity> findAll();

    RenterInfoEntity findByCard(String id);

}
